﻿using System;
using System.Threading.Tasks;

namespace Gaea.CodeFirst
{
    public abstract partial class OperateTableBasic : ITable
    {
        public virtual async Task CreateTable<T>(OperateTableContext operateTableContext) where T : class
        {
            await CreateTable(operateTableContext);
        }

        public virtual async Task AlterTable<T>(OperateTableContext operateTableContext) where T : class
        {
            await AlterTable(operateTableContext);
        }

        public virtual async Task CreateTable(OperateTableContext operateTableContext)
        {
        }

        public virtual async Task AlterTable(OperateTableContext operateTableContext)
        {
        }
    }
}
